<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>06_浮动布局</title>
    <style>
        .fu{
            width: 500px;
            background-color: #518ec4;
            overflow: hidden;
        }
        .fu>div{
            width: 50px;
            height: 50px;
            border: 3px solid #000;
        }
        .zi1{
            background-color: #f00;
            float:left;
        }
        .zi2{
            background-color: #0f0;
            float:left;
        }
        .zi3{
            background-color: #00f;
            float:right;
        }
    </style>
</head>
<body>
<div class="fu">
    <div class="zi1"></div>
    <div class="zi2"></div>
    <div class="zi3"></div>
</div>
</body>
</html>